var domain = location.protocol + '//' + location.host;
//业务模块目录
var staticPage = staticUrl + 'easyAbacus/src/';
//公共库目录
var staticLibs = staticUrl + 'libs/';
// var sourceHttp = 'http://127.0.0.1/data/';
//接口域名，request模块中使用
Nui.domain = serviceUrl || domain;
// Nui.domain = staticPage + 'data/';

Nui.config('base', staticUrl);

Nui.config({
    "paths": {
        "js": "/libs/script/",
        "style": "/libs/style/",
        "com": "/libs/script/components/",
        "plus": "/libs/script/plugins/",
        "rewrite": "/libs/script/rewrite/",
        "polyfill": "/libs/script/polyfill/",
        "public": "/easyAbacus/src/public/",
        "pub": "/easyAbacus/src/public/script/",
        "login": "/easyAbacus/src/login/",
        "list": "/easyAbacus/src/list/",
        "order": "/easyAbacus/src/order/",
        "platform": "/easyAbacus/src/platform/"
    },
    "alias": {
        "placeholder": "{com}/placeholder",
        "layer": "{com}/layer/layerExt",
        "router": "{com}/router",
        "datagrid": "{com}/datagrid",
        "request": "{pub}/request",
        "highcharts": "{js}/charts/highcharts"
    },
    "maps": {
        "{list}/script/main": "d425a10",
        "{login}/script/main": "af5e9f4",
        "{platform}/script/main": "c85ce2f"
    }
})